#if !defined(AFX_HELPDLG_H__D7B41940_D2A5_48EE_9817_16BC898035E9__INCLUDED_)
#define AFX_HELPDLG_H__D7B41940_D2A5_48EE_9817_16BC898035E9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HelpDlg.h : header file
#include "Resource.h"
//

/////////////////////////////////////////////////////////////////////////////
// CHelpDlg dialog

class CHelpDlg : public CDialog
{
// Construction
public:
	CHelpDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CHelpDlg)
	enum { IDD = IDD_DIALOG_HELP };
	CEdit	m_ctlHelpContent;
	CListCtrl	m_ctlHelpTitleList;
	CComboBox	m_ctlHelpSortCombo;
	COleDateTime	m_tHelpDate;
	CString	m_strHelpContent;
	long	m_lHelpNumber;
	CString	m_strHelpTitle;
	CString	m_strHelpSort;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHelpDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CHelpDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnClose();
	afx_msg void OnNextpage();
	afx_msg void OnPrevpage();
	afx_msg void OnTop();
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSelchangeHlepsort();
	afx_msg void OnRefresh();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	_ConnectionPtr m_pConnection;
	_RecordsetPtr m_pRecordset;
//	_CommandPtr m_pCommand;
	void Openset();
	void Closeset();
	void GetEditValue();
	void SetListColumn();
	void GetListValue(int j);
	void SetComboValue();
	void LinkListEdit(int i);
	CString GetHelpContent(CString HelpTitle);
	CString GetExeFilePath();

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HELPDLG_H__D7B41940_D2A5_48EE_9817_16BC898035E9__INCLUDED_)
